<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------

namespace app\api\model;

class SlideCat extends ApiBase
{
    public function slides()
    {
        return $this->hasMany('Slide', 'cid', 'id');
    }
}